﻿using NUnit.Framework;
using XEvolve.Core.Runtime;

namespace XEvolve.Core.Test
{
    public abstract class XEvolveTestFixture
    {
        protected Platform platform;
        protected IExtensionRegistry registry;

        [TearDown]
        public virtual void after()
        {
            platform.Stop();
        }
    }

    internal abstract class TestPlatform : Platform
    {
        public static Platform Create()
        {
            return CreateDefault();
        }
    }
}
